<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="/common/common.jsp" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"> 
  <head>
    <base href="<%=basePath%>" />
    <title>Radiator Model</title>
    <script type="text/javascript">
		var path = "<%=basePath%>";
	</script>
	<meta http-equiv="pragma" content="no-cache" />
	<meta http-equiv="cache-control" content="no-cache" />
	<meta http-equiv="expires" content="0" />    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3" />
	<meta http-equiv="description" content="This is my page" />
	<style type="text/css">
		.table_caption {
			text-align:left;
			height:30px;
			font-weight:bold;
			font-size:16px;
			color:#1e9690;
		}
		
		.top {
			overflow: hidden;
			margin-bottom: 30px;
		}
		
		.text_content {
			padding: 10px 20px;
			line-height: 30px;
		}
		
		.text_content b {
			color: #1e9690;
		}
		
		.picture_btn {
			width: 100px;
			height: 36px;
			background: red;
			font-size: 14px;
			color: #ffffff;
			font-weight: bold;
			background: url(images/sanreqi_btb.png) top;
			border: none;
			cursor: pointer;
		}
		
		.picture_btn:hover {
			background: url(images/sanreqi_btb.png) bottom;
		}
		
		div.picture {
			width: 300px;
			height: 200px;
			float: right;
		}
		
		div.picture img {
			max-width: 300px;
			max-height: 200px;
			width:expression(this.width>300&&this.width>this.height?300:auto);   
			height:expresion(this.height>200?200:auto);
		}
	</style>
	<link rel="stylesheet" type="text/css" href="<%=basePath%>beshs/css/content.css" />
	<!-- 系统通用资源 -->
	<jsp:include page="/resources/resource-refer/common-resource-reference.jsp" />
  </head>
  
  <body>
  	<div class="content_all">
		<!--导航条-->
	  	<div class="top">
	    	<div class="text_content">
	      		<div class="picture">
	      			<s:if test="sinkerDictPicURL!=null && !''.equals(sinkerDictPicURL)">
	      				<img src="<%=basePath%><s:property value='sinkerDictPicURL'/>" alt="" />
	      			</s:if>
	      			<s:else>
	      				<img src="<%=basePath%>beshs/images/no_pic.jpg" alt="" />
	      			</s:else>
	      		</div>
	      		<b>Model Dictionary No.：</b><s:property value="sinkerDict.dictSerious" /><br/>
	          	<b>Radiator Model：</b><s:property value="sinkerDict.sinkType" /><br/>
	         	<b>Radiator Brand ：</b><s:property value="sinkerDict.brand" /><br/>
	         	<b>Supplier：</b><s:property value="sinkerDict.creator" /><br/>
	         	<b>Updating time：</b><s:date name='sinkerDict.updateTime' format='yyyy-MM-dd HH:mm:ss' nice='false' /><br/>
	          	<b>Radiator Introduction：</b><s:property value="sinkerDict.remrak" />
	      	</div>
	      	<script type="text/javascript">
          		$(function() {
          			$("input[name='goBack']").click(function() {
          				history.go(-1);
          			});
          		})
          	</script>
            <input name="goBack" type="reset" value="Return" class="s_btn"/>
	  	</div>
	  	<!--查询列表-->
	  	<div class="search_table_all">
	    	<table class="search_table" cellspacing="0" cellpadding="0">
	    		<caption class="table_caption" >Radiator Model and Parameter</caption>
	      		<thead>
	        		<tr>
						<th>Radiator Height</th>
						<th>Radiator Width</th>
						<th>Radiator Length</th>
						<th>Radiator Central Distance</th>
						<th>Power Calculation of Single Fin</th>
	        		</tr>
	      		</thead>
	      		<tbody>
	      			<tr>
		          		<td><s:property value="sinkerDict.sinkHeight" /></td>
		          		<td><s:property value="sinkerDict.sinkWidth" /></td>
		          		<td><s:property value="sinkerDict.sinkLength" /></td>
		          		<td><s:property value="sinkerDict.sinkCenDis" /></td>
		          		<td><s:property value="sinkerDict.calPower" /></td>
	      			</tr>
	      		</tbody>
	    	</table>
	  	</div>
  	</div>
  </body>
</html>
